package com.qzdsoft.erpcloud.service.basic;

import com.qzdsoft.erpcloud.domain.basic.BillDeocdeParam;
import com.qzdsoft.erpcloud.vo.query.basic.BillDeocdeParamInfo;
import com.qzdsoft.vo.LayTableResponse;
import com.qzdsoft.vo.Response;

/**
 * Created by Admin
 */
public interface BillDeocdeParamService {
    /**
     * 根据主键id查找单据编码参数信息
     * @param id
     * @return
     */
    BillDeocdeParam selectById(Integer id);
    /**
     * 更新与保存单据编码参数信息
     * @param basicBillDeocdeParam
     * @return
     */
    Response<String> saveOrUpd(BillDeocdeParam basicBillDeocdeParam);
    /**
     * 根据主键id删除单据编码参数信息
     * @param id
     * @return
     */
    Response<String> del(Integer id);
    /**
     * 根据条件获取单据编码参数信息列表
     * @param typeId
     * @param companyId
     * @param decodeMethod
     * @param prifixFirst
     * @param prifixSecond
     * @param prifixThree
     * @param start
     * @param pageSize
     * @return
     */
    LayTableResponse<BillDeocdeParamInfo> selectData(Integer typeId, Integer companyId, Integer decodeMethod, Integer prifixFirst, Integer prifixSecond, Integer prifixThree, Integer start, Integer pageSize);
}
